package com.sh169.util;

public class Validate {

	public static boolean isEmail(String email){
		
		return true;
	}
	public static boolean isLength(String src,int length){
		if(src==null || src.length()!= length) return false;
		return true;
	}
	public static boolean isInLength(String src,int min,int max){
		if(src==null) return false;
		if(src.length()>=min&&src.length()<=max) return true;
		else
			return false;
	}
	public static boolean hasIllegalChar(String src){
		
		return false;
	}
	public static boolean hasIllegalChar4Sql(String src){
		
		return false;
	}
}
